
<!-- 协议 -->

<div id="apply_agreement" class="apply-agreement">
    <div class="title"><h3>入驻协议</h3></div>
    <div class="apply-agreement-content"> <?php echo html_entity_decode($agreement);?> </div>
    <div class="apple-agreement">
        <input id="input_apply_agreement" name="input_apply_agreement" type="checkbox" checked />
        <label for="input_apply_agreement">我已阅读并同意以上协议</label>
    </div>
    <div class="bottom">
        <!--<a id="btn_apply_agreecbc_next" href="javascript:;" class="btn">个人入驻</a>-->
        <a style=" margin-left:15px;" id="btn_apply_agreement_next" href="javascript:;" class="btn">企业入驻</a>
    </div>
</div>
<script type="text/javascript">
    $(document).ready(function(){
        /*$('#btn_apply_agreecbc_next').on('click', function() {
            if($('#input_apply_agreement').prop('checked')) {
                window.location.href = "index.php?act=store_joininc&op=step1";
            } else {
                alert('请阅读并同意协议');
            }
        });*/
        $('#btn_apply_agreement_next').on('click', function() {
            if($('#input_apply_agreement').prop('checked')) {
                window.location.href = "../storejoinin/step1.html";
            } else {
                alert('请阅读并同意协议');
            }
        });
    });
</script>